package com.wwj.study.decorator;

import java.io.DataInputStream;
import java.io.FilterInputStream;
import java.io.InputStream;

/**
 * Created by lenovo on 2018/11/20.
 */
public class DecoratorTest {
    public static void main(String[] args) {


//        InputStream in =null;
//        FilterInputStream filterInputStream=new DataInputStream(in);

        House house=new House();
        NewHouse newHouse=new NewHouse(house);
        newHouse.trainHome();
    }
}
